home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_6.lha / 7_6 / 7_6d.c < prev    next >
Text File  |  1993-08-08  |  316b  |  15 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. / append a dlink after this one
  6. oid dlink::append(dlink *newlink)
  7.  
  8.    if (next)
  9. next->prev = newlink;
  10.  
  11.    newlink->next = next;
  12.    newlink->prev = this;
  13.    next = newlink;
  14.  
  15.